/**
 * Created by Administrator on 2017/9/21 0021.
 */

import React from "react"
import TreeSelectComponent from "./TreeSelectComponent"
import {Modal } from "antd";
export default class ModelTreeSelect extends React.Component{
    render(){
        let {
            onCancel,
            visible,
            title,
            data,
            getId,
            defaultArr
        }= this.props;

        return(
            <Modal
                title={title}
                visible ={visible}
                onCancel ={onCancel}
                footer={null}
            >
                <TreeSelectComponent data={data} defaultArr={defaultArr} getId={getId} />
            </Modal>
        )
    }
}
